|
|
|
|
|
|
|
What are the three modes in Visual Basic? |
|
|
|
|
|
|
|
|
Answer: Design, Break, and Run. |
|
|
|
|
|
|
|
|
Which key marks a line as a breakpoint? |
|
|
|
|
|
|
|
|
Which statement prints values from the Immediate window when the application is in Break mode? |
|
|
|
|
|
|
|
|
Which statement allows printing to the Immediate window from within the application? |
|
|
|
|
|
|
|
|
Which statement causes Visual Basic to halt execution of your program? |
|
|
|
|
|
|
|
|
Chapter 17: Error Handling |
|
|
|
|
|
|
|
|
Write an error statement that will cause Visual Basic to jump to a label named FormLoad_EH. |
|
|
|
 |
|
|
|
|
On Error Goto FormLoad_EH |
|
|
|
|
|
|
|
|
Which statement causes execution to continue at the line following the one the error occurred on? |
|
|
|
|
|
|
|
|
Which object/property returns a string describing the error that just occurred? |
|
|
|
|
|
|
|
|
Write the statement that turns error handling off. |
|
|
|
|
|